<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-537f173c38844316"></script>
<div class="blog-item-container">
    <div class="blog-title">
        <h2><?php echo CHtml::link(CHtml::encode($data->title), $data->url); ?></h2>
    </div>

    <!--     <div class="blog-image">
                    <img src="<?php #echo Yii::app()->theme->baseUrl;    ?>/img/slider/flickr/s4.jpg" alt="Blog example image" />
                </div> blog-image -->

    <div class="blog-details">
        <ul>
            <li><i class="icon-calendar"></i> <?php echo date('d F Y', strtotime($data->create_time)); ?></li>           
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_native_toolbox"></div>
        </ul>
    </div><!-- blog-details -->


    <div class="blog-text">
        <p>
            <?php
            $this->beginWidget('CMarkdown', array('purifyOutput' => true));
            echo $data->content;
            $this->endWidget();
            ?>
        </p>

    </div><!-- blog-text -->

    <div class="blog-read-more">
        <p>
            <?php echo (isset($_GET['seo_title'])) ? '' : CHtml::link('Read more...', $data->url) . '|'; ?> 
            <?php echo CHtml::link("Comments ({$data->commentCount})", $data->url . '#comments'); ?> |
            Last updated on <?php echo date('F j, Y', strtotime($data->update_time)); ?>
        </p>
    </div><!-- blog-read-more -->

    <hr />
</div>